﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Fjaspx.UI.Web.Administrator.UCenter
{
    public partial class Group_admin : AdminPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Bind();
                if (Request["del"] != null) {
                    ___ROYcms_UGroup_bll.Delete(Convert.ToInt32(Request["del"]));
                    Bind();
                }
                
            }
        }

        void Bind() 
        {
            Repeater_list.DataSource = ___Page.GetList(___WebConfig.date_prefix + "UGroup", "id", 20, 1, " id>0 ");
            Repeater_list.DataBind();
        }
    }
}
